import EventRoute from "./EventRoute"
import SystemCardService from "../service/SystemCardService";

const routes = new Array();
const systemCardService = new SystemCardService();
/**
 * 会员分页
 */
routes.push(
    new EventRoute('app-card-czk', 'event', async (api, data = {}) => {
        systemCardService.czk(data.data)
    })
)

/**
 * 会员添加
 */
routes.push(
    new EventRoute('app-card-jck', 'event', async (api, data = {}) => {
        systemCardService.jck(data.data)
    })
)

/**
 * 会员修改
 */
routes.push(
    new EventRoute('app-card-recharge', 'event', async (api, data = {}) => {
        systemCardService.recharge(data.data)
    })
)

export default routes;
